#ifndef FRIENDLISTBOX_H
#define FRIENDLISTBOX_H

#include <QWidget>

namespace Ui {
class FriendListBox;
}

class FriendListBox : public QWidget
{
    Q_OBJECT

public:
    explicit FriendListBox(QWidget *parent = nullptr);
    ~FriendListBox();
    void setAvatar(const QPixmap avatar);
    //void setName(const QString name);
    void setNameContent(const QString name,const QString content);
    void setOC(QString oc);
    QString getOC();
    QString getName();
    void setName(QString);
    void setContent(QString);
    void resetCount();
    void raiseCount();
    int getCount();
private:

    Ui::FriendListBox *ui;
    QString oc;
    QString name;
    int newmessagecount;
};

#endif // FRIENDLISTBOX_H
